package com.tm.media.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.tm.media.model.util.PageUtil;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Author Ly
 * @Data 2023/2/23 19:08
 * @ClassName MaterialEntity
 */
@TableName("wm_material")
@Data
public class MaterialEntity  extends PageUtil {
    private Integer	id;
    private Integer	userId;
    private  String	url;
    private  Integer	type;
    private  Integer	isCollection;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private  String	createdTime;

}
